<template>
	<view>
		<view class="content_getBack">
			<view class="getBack">
				<navigator  open-type="navigateBack" hover-class="none">
					<image src="../../../static/s1.png" mode=""></image>
				</navigator>
				<view class="title">提现</view>
			</view>
		</view>
		<navigator url="../bankcard/bankcard" class="Arrival">
			<view class="ka">到账银行卡</view>
			<view class="">
				<view class="left" style="">
					<image src="../../../static/user/BankLogo.png" mode="widthFix" style="width: 33rpx;"></image>
					<view class="" style="padding-left: 5rpx;">农业银行</view>
				</view>
				
				<view class="daozhang">2小时内到账</view>
		
			</view>
			<view class="">
				<image src="../../../static/PersonalCenter/right.png" mode="widthFix" style="width: 12rpx;"></image>
			</view>
		</navigator>
		<view class="Withdrawalamount">
			<view class="amount">提现金额</view>
			<view class="input">
				<view class="money">￥</view>
				<input type="number" value="" style="font-size: 56rpx;"/>
			</view>
		</view>
		<button type="default" class="btn" @click="Withdrawal">立即提现</button>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				token: ''
			};
		},
		onLoad() {
			this.token = uni.getStorageSync('token')
		},
		methods: {
			async Withdrawal(){
				const res = await this.$myRequest({
					url: 'bank/getBankCard',
					method: "POST",
					header: {
						'token':  this.token
					},
					data: {
						
					}
					
				})
				console.log(res)
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #EEEEEE;
	}
	.content_getBack {
		// position: fixed;
		top: 0;
		// left: 0;
		width: 100%;
		height: 90rpx;
		z-index: 999;
		border-bottom: none !important;
	
	}
	.getBack {
		position: relative;
		width: 100%;
		height: 90rpx;
		background: #C52B2E;
		border-bottom: none !important;
	}
	
	.getBack .title {
		width: 100%;
		height: 90rpx;
		line-height: 90rpx;
		text-align: center;
		color: #FFFFFF;
		font-size: 34rpx;
		border-bottom: none !important;
	}
	
	.getBack navigator {
		position: absolute;
		left: 0;
		top: 0;
		text-align: center;
		width: 90rpx;
		line-height: 90rpx;
		height: 90rpx;
	}
	
	.getBack image {
		width: 21rpx;
		height: 31rpx;
	}
	.Arrival {
		padding: 32rpx 31rpx 0 31rpx;
		display: flex;
		justify-content: space-between;
		.ka {
			font-size: 31rpx;
			color: #999999;
		}
		.left {
			display: flex;
			align-items: center;
			font-size: 31rpx;
			color: #333333;
		}
		.daozhang {
			font-size: 31rpx;
			color: #999999;
			padding-top: 10rpx;
			padding-left: 15rpx;
			opacity: 1;
		}
	}
	.Withdrawalamount {
		width: 697rpx;
		height: 290rpx;
		background: #FFFFFF;
		opacity: 1;
		margin: 50rpx auto 0;
		.amount {
			font-size: 31rpx;
			line-height: 26rpx;
			color: #757474;
			padding: 24rpx 0 0 21rpx;
		}
		.input {
			margin: 45rpx 24rpx;
			display: flex;
			align-items: center;
			border-bottom: 1rpx dashed  #000000;
			padding-bottom: 20rpx;
			.money {
				color: #C52B2E;
				font-size: 56rpx;
				padding-right: 10rpx;
			}
		}
			
	}
	.btn {
		width: 650rpx;
		height: 77rpx;
		background-color: #C52B2E;
		line-height: 77rpx;
		color: #FFFFFF;
		border-radius: 15rpx;
		margin-top: 70rpx;
	}

</style>
